package huixue.cn.com.rxapp.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.support.annotation.Nullable;

import java.util.List;

import huixue.cn.com.rxapp.IMyAidl;
import huixue.cn.com.rxapp.entity.Person;

/**
 * Created by gongdongyang on 2018/8/15.
 */

public class ServiceC extends Service {

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return mBinder;
    }

    private IMyAidl.Stub mBinder = new IMyAidl.Stub() {
        @Override
        public void basicTypes(int anInt, long aLong, boolean aBoolean,
                               float aFloat, double aDouble, String aString) throws RemoteException {

        }

        @Override
        public void addPerson(Person person) throws RemoteException {

        }

        @Override
        public List<Person> getPersonList() throws RemoteException {
            return null;
        }
    };


}
